package uppgift2del1;

public class SortedLinkedCollectionTest {
	/**
	 * Method that test the SortedLinkedCollection class,
	 * it adds a bunch of different numbers and uses the
	 * toString() method to output it.s
	 * @param args
	 */
	public static void main(String[] args) {
		SortedLinkedCollection<Integer> collection = new SortedLinkedCollection<Integer>();
		
		for (int i = 10; i > 3; i--) {
			collection.add(i);
		}
		
		collection.add(4);
		collection.add(2);
		collection.add(1);
		collection.add(7);
		collection.add(5);
		
		System.out.println(collection.toString());
	}
}
